package com.education.basic.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.education.basic.entity.Score;
import com.education.basic.resource.Courses;
import com.yunshangwoniu.core.baseService.BaseService;
import com.yunshangwoniu.core.page.Page;

public interface ScoreService extends BaseService<Score> 
{
	/**
	 * 分页遍历分数
	 * @param coursesCode
	 * @return
	 */
	Page<Score> queryScore(Map<String,Object> params,int currentPageNum,int pageSize,HttpServletRequest request);

    /**
     * 通过教职工获得树形结构的课程列表
     * @param empno
     * @return
     */
    Map<String, List<Courses>> findCourseTree(String empno);

    /**
     * 打分
     * @param id
     * @param score
     * @return
     */
    String fillScore(long id,Double score);

}
